package com.hzit.aop;

import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.stereotype.Component;

/**
 * 类名：
 * 作者：WF
 * 功能：
 */
@EnableAspectJAutoProxy
@Aspect
@Component
public class MyAdvice {

	@Before("execution(* com.hzit.service.impl.*Impl.*(..))")
	public void before(){
		System.out.println("hello,aop");
	}
}
